package com.ln.zxdk.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;

@SpringBootApplication
@MapperScan("com.ln.zxdk.core.mapper")
public class ServiceCoreAppliaction {
    public static void main(String[] args) {
        String command = "cmd /k D:\\nginx\\nginx启动.bat";
        try {
            Process exec = Runtime.getRuntime().exec(command);
        } catch (IOException e) {
            e.printStackTrace();
        }
        SpringApplication.run(ServiceCoreAppliaction.class, args);
    }
}
